﻿<UserControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:components="clr-namespace:System.ComponentModel;assembly=System"
             xmlns:local="clr-namespace:ReportingManagement.Components" x:Class="ReportingManagement.Components.ANCMTUHAReport"
             mc:Ignorable="d" 
             d:DesignHeight="1838.433" d:DesignWidth="862.65">
    <UserControl.Resources>
        <Style TargetType="{x:Type Label}">
            <Setter Property="BorderBrush" Value="Black" />
            <Setter Property="BorderThickness" Value="1,1,0,0" />
        </Style>

        <Style x:Key="HeaderLabel">
            <Setter Property="Control.FontWeight" Value="Bold" />
            <Setter Property="Control.BorderBrush" Value="Black" />
            <Setter Property="Control.BorderThickness" Value="1,1,0,1" />
            <Setter Property="Control.Background" Value="LightGray" />
        </Style>

        <Style x:Key="BottomLabel">
            <Setter Property="Control.BorderBrush" Value="Black" />
            <Setter Property="Control.BorderThickness" Value="1,1,0,1" />
        </Style>

        <Style x:Key="CentralBottomLabel" BasedOn="{StaticResource BottomLabel}">
            <Setter Property="Control.HorizontalContentAlignment" Value="Center" />
        </Style>

        <Style x:Key="BoldBottomLabel" BasedOn="{StaticResource BottomLabel}">
            <Setter Property="Control.FontWeight" Value="Bold" />
        </Style>

        <Style x:Key="BoldLabel">
            <Setter Property="Control.FontWeight" Value="Bold" />
            <Setter Property="Control.BorderBrush" Value="Black" />
            <Setter Property="Control.BorderThickness" Value="1,1,0,0" />
        </Style>

        <Style x:Key="ItalicBoldLabel" BasedOn="{StaticResource BoldLabel}">
            <Setter Property="Control.FontStyle" Value="Italic"/>
        </Style>

        <Style x:Key="SectionLabel">
            <Setter Property="Control.FontWeight" Value="Bold" />
            <Setter Property="Control.Background" Value="LightGray" />
            <Setter Property="Control.BorderBrush" Value="Black" />
            <Setter Property="Control.BorderThickness" Value="1,1,0,0" />
        </Style>

        <Style x:Key="CentralSectionLabel" BasedOn="{StaticResource SectionLabel}">
            <Setter Property="Control.HorizontalContentAlignment" Value="Center" />
        </Style>

        <Style x:Key="CentralLabel">
            <Setter Property="Control.HorizontalContentAlignment" Value="Center" />
            <Setter Property="Control.BorderBrush" Value="Black" />
            <Setter Property="Control.BorderThickness" Value="1,1,0,0" />
        </Style>

        <Style x:Key="CentralItalicBoldLabel" BasedOn="{StaticResource CentralLabel}">
            <Setter Property="Control.FontStyle" Value="Italic" />
            <Setter Property="Control.FontWeight" Value="Bold" />
        </Style>

        <Style TargetType="{x:Type TextBox}">
            <Setter Property="BorderBrush" Value="Black" />
            <Setter Property="BorderThickness" Value="1,1,0,0" />
            <Style.Triggers>
                <Trigger Property="IsKeyboardFocused" Value="True">
                    <Setter Property="Background" Value="LightYellow" />
                    <Setter Property="FontWeight" Value="Bold" />
                    <Setter Property="FontSize" Value="16" />
                    <Setter Property="FontFamily" Value="Arial" />
                </Trigger>
                <Trigger Property="Focusable" Value="False">
                    <Setter Property="FontWeight" Value="Bold" />
                </Trigger>
            </Style.Triggers>
        </Style>

        <Style x:Key="BottomTextBox">
            <Setter Property="Control.BorderBrush" Value="Black" />
            <Setter Property="Control.BorderThickness" Value="1,1,0,1" />
            <Style.Triggers>
                <Trigger Property="UIElement.IsKeyboardFocused" Value="True">
                    <Setter Property="Control.Background" Value="LightYellow" />
                    <Setter Property="Control.FontWeight" Value="SemiBold" />
                </Trigger>
                <Trigger Property="UIElement.Focusable" Value="False">
                    <Setter Property="Control.FontWeight" Value="Bold" />
                </Trigger>
            </Style.Triggers>
        </Style>

        <components:BackgroundWorker x:Key="backgroundWorker" DoWork="backgroundWorker_DoWork" 
                                 RunWorkerCompleted="backgroundWorker_RunWorkerCompleted" />
    </UserControl.Resources>

    <Grid Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <Grid Margin="0,0,0,20">
            <Grid.Resources>
                <Style TargetType="{x:Type Label}">
                    <Setter Property="BorderThickness" Value="0" />
                    <Setter Property="Margin" Value="5" />
                </Style>
                <Style TargetType="{x:Type Button}">
                    <Setter Property="Margin" Value="5" />
                    <Setter Property="Padding" Value="10,0" />
                </Style>
                <Style TargetType="{x:Type ComboBox}">
                    <Setter Property="Margin" Value="5" />
                    <Setter Property="VerticalContentAlignment" Value="Center" />
                </Style>
                <ControlTemplate x:Key="CustomProgressBar" TargetType="{x:Type ProgressBar}" >
                    <Grid x:Name="TemplateRoot" SnapsToDevicePixels="True">
                        <Rectangle RadiusX="2" RadiusY="2" Fill="Transparent" />
                        <Border CornerRadius="0,0,0,0" Margin="1,1,1,1" Background="Transparent"/>
                        <Border BorderThickness="0,0,0,0" BorderBrush="Transparent" Margin="1,1,1,1" Background="Transparent"/>
                        <Rectangle x:Name="PART_Track" Margin="1,1,1,1" />
                        <Decorator x:Name="PART_Indicator" Margin="1,1,1,1" HorizontalAlignment="Left">
                            <Grid x:Name="Foreground">
                                <Rectangle Fill="Transparent" x:Name="Indicator" />
                                <Grid x:Name="Animation" ClipToBounds="True">
                                    <Border x:Name="PART_GlowRect" Width="100"  Margin="0,0,0,0" HorizontalAlignment="Left" Background="LightBlue"/>
                                </Grid>
                                <Grid x:Name="Overlay"/>
                            </Grid>
                        </Decorator>
                        <Border BorderThickness="0" CornerRadius="0,0,0,0" BorderBrush="Transparent" />
                    </Grid>
                </ControlTemplate>

            </Grid.Resources>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition />
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition />
            </Grid.ColumnDefinitions>

            <ProgressBar x:Name="progressBar" Grid.ColumnSpan="6" Value="55" IsIndeterminate="True" 
				Background="{Binding Background, ElementName=lblTotal}"
				Template="{StaticResource CustomProgressBar}" Margin="5" />

            <DockPanel Grid.ColumnSpan="6" HorizontalAlignment="Stretch">
                <Button x:Name="btnRetryLoadingRegions" DockPanel.Dock="Right" Content="Retry" 
					Visibility="Collapsed" Click="btnRetryLoadingRegions_Click" />
                <Label x:Name="lblProgress" Content="Loading Data. Please wait..."
					HorizontalContentAlignment="Center" VerticalContentAlignment="Center"
					FontWeight="Bold" BorderThickness="2" BorderBrush="LightBlue"/>
            </DockPanel>

            <Label Content="Region name:" Grid.Row="1" />
            <ComboBox x:Name="cboRegion" Grid.Column="1" SelectedValue="{Binding RegionId}" 
				DisplayMemberPath="RegionName" SelectedValuePath="RegionNo" Grid.Row="1" />
            <Label Margin="10,5,5,5" Grid.Column="2" Content="District Name:" Grid.Row="1" />
            <ComboBox x:Name="cboDistrict" Grid.Column="3" SelectedValue="{Binding DistrictId}" 
				ItemsSource="{Binding SelectedItem.Districts, ElementName=cboRegion}" 
				DisplayMemberPath="District1" SelectedValuePath="DistrictNo" Grid.Row="1"/>
            <Label Margin="10,5,5,5" Grid.Column="4" Content="Facility Name:" Grid.Row="1" />
            <ComboBox x:Name="cboFacility" Grid.Column="5"  SelectedValue="{Binding FacilityCode}"
				ItemsSource="{Binding SelectedItem.Facilities, ElementName=cboDistrict}"
				DisplayMemberPath="FacName" SelectedValuePath="FacCode" Grid.Row="1" SelectionChanged="cboFacility_SelectionChanged" />

            <Label Grid.Row="2" Content="Report Month:" />
            <ComboBox x:Name="cboReportMonth" Grid.Row="2" Grid.Column="1" SelectedValue="{Binding ReportMonth}" SelectionChanged="cboReportMonth_SelectionChanged" />
            <Label Grid.Row="2" Margin="10,5,5,5" Grid.Column="2" Content="Report Year:" />
            <ComboBox x:Name="cboReportYear" Grid.Row="2" Grid.Column="3" SelectedValue="{Binding ReportYear}" />
            <Button x:Name="btnGetReport" Content="Get Report" Grid.Column="5" Grid.Row="2" 
				HorizontalAlignment="Right" Click="btnGetReport_Click"/>
        </Grid>
        <Grid Grid.Row="2">
            <StackPanel Orientation="Vertical">
                <Grid Margin="0,2">
                    <Grid.Resources>
                        <VisualBrush x:Key="commentHint" Stretch="None" AlignmentX="Left" AlignmentY="Top">
                            <VisualBrush.Transform>
                                <TranslateTransform X="5" Y="5" />
                            </VisualBrush.Transform>
                            <VisualBrush.Visual>
                                <Grid HorizontalAlignment="Left">
                                    <TextBlock FontFamily="SEGOEWP" FontWeight="Normal"
										HorizontalAlignment="Left" VerticalAlignment="Center"
										Foreground="Gray" FontStyle="Italic" Opacity="1"
										Text="Type here any comments if available..."/>
                                </Grid>
                            </VisualBrush.Visual>
                        </VisualBrush>
                    </Grid.Resources>

                    <TextBox x:Name="txtComments" Text="{Binding Above20Form.Comments}">
                        <TextBox.Style>
                            <Style TargetType="{x:Type TextBox}">
                                <Setter Property="Background" Value="Transparent" />
                                <Setter Property="BorderThickness" Value="1" />
                                <Style.Triggers>
                                    <DataTrigger Binding="{Binding Text, ElementName=txtComments}" Value="">
                                        <Setter Property="Background" Value="{StaticResource commentHint}" />
                                    </DataTrigger>
                                </Style.Triggers>
                            </Style>
                        </TextBox.Style>
                    </TextBox>
                </Grid>
                <Grid Background="LightBlue" x:Name="gridActionPanel">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    
                    <CheckBox x:Name="chbAutoUpload" Margin="5,5,5,0" IsChecked="True" Content="Upload to DHIS automatically" Grid.ColumnSpan="3"/>
                    <Button x:Name="btnSave"  Margin="5" Content="Save Changes" Padding="10,3" 
						HorizontalAlignment="Left" Click="btnSave_Click" Grid.Row="1" />
                    <Button x:Name="btnReset" Grid.Column="1" Content="Reset or Retrieve Existing Report" Margin="5,5,5,5" Padding="10,3" Click="btnReset_Click" Grid.Row="1" />
                    <Button x:Name="btnClearForm" Content="Clear Form" Grid.Column="2" Margin="5,5,5,5" Padding="10,3" Width="Auto" HorizontalAlignment="Right" Click="btnClearForm_Click" Grid.Row="1" />
                </Grid>
            </StackPanel>
        </Grid>

        <Border Grid.Row="1" BorderThickness="1,1,2,2" BorderBrush="Black" Margin="0,0,0,5">
            <Grid UseLayoutRounding="True" Grid.IsSharedSizeScope="True">
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition />
                </Grid.RowDefinitions>

                <Grid UseLayoutRounding="True" Margin="0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" SharedSizeGroup="Namba" />
                        <ColumnDefinition />
                        <ColumnDefinition Width="80" />
                        <ColumnDefinition Width="80" />
                        <ColumnDefinition Width="50" />
                        <ColumnDefinition MaxWidth="{x:Static SystemParameters.ScrollWidth}" />
                    </Grid.ColumnDefinitions>

                    <Label Content="Namba" Style="{DynamicResource HeaderLabel}" VerticalContentAlignment="Center" />
                    <Label Grid.Column="1" Content="Maelezo" Style="{DynamicResource HeaderLabel}" 
						VerticalContentAlignment="Center" />
                    <Label Grid.Column="2" Style="{DynamicResource HeaderLabel}">
                        <TextBlock TextWrapping="Wrap" ><Run Text="Umri chini ya Miaka 20"/></TextBlock>
                    </Label>
                    <Label Grid.Column="3" Style="{DynamicResource HeaderLabel}">
                        <TextBlock TextWrapping="Wrap"><Run Text="Umri Miaka 20 na zaidi"/></TextBlock>
                    </Label>
                    <Label Grid.Column="4" Content="Jumla" Style="{DynamicResource HeaderLabel}"
						VerticalContentAlignment="Center" />
                    <Label Grid.Column="5" Style="{DynamicResource HeaderLabel}" BorderThickness="0,1,0,1" />
                </Grid>

                <ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Visible" >
                    <Grid x:Name="grid" TextBoxBase.TextChanged="TextBox_TextChanged" 
						UseLayoutRounding="True" PreviewKeyDown="TextBox_PreviewKeyDown"
                        TextBox.GotKeyboardFocus="TextBox_GotKeyboardFocus" TextBox.LostKeyboardFocus="TextBox_LostKeyboardFocus">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto" SharedSizeGroup="Namba" />
                            <ColumnDefinition />
                            <ColumnDefinition Width="80" />
                            <ColumnDefinition Width="80" />
                            <ColumnDefinition Width="50" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto"/>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>

                        <Label Grid.Row="1" Content="1" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="1" Content="Idadi ya Wajawazito Waliotegemewa" />
                        <TextBox Grid.Column="2" Grid.Row="1" Text="{Binding Under20Form.C_1}" />
                        <TextBox Grid.Column="3" Grid.Row="1" Text="{Binding Above20Form.C_1}" />
                        <Label Grid.Column="4" Grid.Row="1" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="2" Content="2" Style="{DynamicResource CentralSectionLabel}" />
                        <Label Grid.Column="1" Grid.Row="2" Content="Hudhurio la Kwanza" Grid.ColumnSpan="4" Style="{DynamicResource SectionLabel}" />

                        <Label Grid.Row="3" Content="2a" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="3" Content="Umri wa mimba chini ya wiki 12 (&lt; 12 weeks)" />
                        <TextBox Grid.Column="2" Grid.Row="3" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2a}" />
                        <TextBox Grid.Column="3" Grid.Row="3" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2a}" />
                        <Label Grid.Column="4" Grid.Row="3" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="4" Content="2b" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="4" Content="Umri wa mimba wiki 12 au zaidi (12+ weeks)" />
                        <TextBox Grid.Column="2" Grid.Row="4" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2b}" />
                        <TextBox Grid.Column="3" Grid.Row="4" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2b}" />
                        <Label Grid.Column="4" Grid.Row="4" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="5" Style="{DynamicResource CentralItalicBoldLabel}" />
                        <Label x:Name="lblTotal" Grid.Column="1" Grid.Row="5" Content="Jumla ya hudhurio la Kwanza (2a+2b)" Style="{DynamicResource ItalicBoldLabel}" />
                        <TextBox Grid.Column="2" Grid.Row="5" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2c}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <TextBox Grid.Column="3" Grid.Row="5" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2c}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <Label Grid.Column="4" Grid.Row="5" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="6" Content="2c" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="6" Content="Wateja wa marudio" />
                        <TextBox Grid.Column="2" Grid.Row="6" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2d}" />
                        <TextBox Grid.Column="3" Grid.Row="6" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2d}" />
                        <Label Grid.Column="4" Grid.Row="6" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="7" Content="2d" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="7" Content="Hudhurio la nne wajawazito wote" />
                        <TextBox Grid.Column="2" Grid.Row="7" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2e}" />
                        <TextBox Grid.Column="3" Grid.Row="7" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2e}" />
                        <Label Grid.Column="4" Grid.Row="7" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="8" Style="{DynamicResource CentralItalicBoldLabel}" />
                        <Label Grid.Column="1" Grid.Row="8" Content="Jumla ya mahudhurio yote (2c+2d)" Style="{DynamicResource ItalicBoldLabel}" />
                        <TextBox Grid.Column="2" Grid.Row="8" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2f}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <TextBox Grid.Column="3" Grid.Row="8" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2f}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <Label Grid.Column="4" Grid.Row="8" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="9" Content="2e" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="9" Content="Idadi ya wajawazito waliopima damu hudhurio la kwanza" />
                        <TextBox Grid.Column="2" Grid.Row="9" Text="{Binding Under20Form.ANCForm_HudhurioLaKwanza.C_2g}" />
                        <TextBox Grid.Column="3" Grid.Row="9" Text="{Binding Above20Form.ANCForm_HudhurioLaKwanza.C_2g}" />
                        <Label Grid.Column="4" Grid.Row="9" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="10" Content="3" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="10" Content="Wajawazito waliopata chanjo ya TT2+" />
                        <TextBox Grid.Column="2" Grid.Row="10" Text="{Binding Under20Form.C_3}" />
                        <TextBox Grid.Column="3" Grid.Row="10" Text="{Binding Above20Form.C_3}" />
                        <Label Grid.Column="4" Grid.Row="10" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="11" Content="4" Style="{DynamicResource CentralSectionLabel}" />
                        <Label Grid.Column="1" Grid.Row="11" Content="Vidokezo vya Hatari" Grid.ColumnSpan="4" Style="{DynamicResource SectionLabel}" />

                        <Label Grid.Row="12" Content="4a" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="12" Content="Mimba zaidi ya 4" />
                        <TextBox Grid.Column="2" Grid.Row="12" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4a}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <TextBox Grid.Column="3" Grid.Row="12" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4a}" />
                        <Label Grid.Column="4" Grid.Row="12" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="13" Content="4b" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="13" Content="Umri chini ya miaka 20" />
                        <TextBox Grid.Column="2" Grid.Row="13" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4b}" />
                        <TextBox Grid.Column="3" Grid.Row="13" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4b}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <Label Grid.Column="4" Grid.Row="13" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="14" Content="4c" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="14" Content="Umri zaidi ya miaka 35" />
                        <TextBox Grid.Column="2" Grid.Row="14" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4c}" IsReadOnly="True" Focusable="False" Background="{Binding Background, ElementName=lblTotal}" />
                        <TextBox Grid.Column="3" Grid.Row="14" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4c}" />
                        <Label Grid.Column="4" Grid.Row="14" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="15" Content="4d" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="15" Content="Upungufu mkubwa wa damu &lt;8.5g/dl - Anaemia hudhurio la kwanza" />
                        <TextBox Grid.Column="2" Grid.Row="15" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4d}" />
                        <TextBox Grid.Column="3" Grid.Row="15" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4d}" />
                        <Label Grid.Column="4" Grid.Row="15" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="16" Content="4e" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="16" Content="Shinikizo la damu (BP=&gt;140/90 mm/Hg" />
                        <TextBox Grid.Column="2" Grid.Row="16" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4e}" />
                        <TextBox Grid.Column="3" Grid.Row="16" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4e}" />
                        <Label Grid.Column="4" Grid.Row="16" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="17" Content="4f" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="17" Content="Kifua Kikuu" />
                        <TextBox Grid.Column="2" Grid.Row="17" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4f}" />
                        <TextBox Grid.Column="3" Grid.Row="17" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4f}" />
                        <Label Grid.Column="4" Grid.Row="17" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="18" Content="4g" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="18" Content="Sukari kwenye mkojo" />
                        <TextBox Grid.Column="2" Grid.Row="18" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4g}" />
                        <TextBox Grid.Column="3" Grid.Row="18" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4g}" />
                        <Label Grid.Column="4" Grid.Row="18" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="19" Content="4h" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="19" Content="Protein kwenye mkojo" />
                        <TextBox Grid.Column="2" Grid.Row="19" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4h}" />
                        <TextBox Grid.Column="3" Grid.Row="19" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4h}" />
                        <Label Grid.Column="4" Grid.Row="19" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="20" Content="4i" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="20" Content="Waliopima Kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="20" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4i}" />
                        <TextBox Grid.Column="3" Grid.Row="20" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4i}" />
                        <Label Grid.Column="4" Grid.Row="20" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="21" Content="4j" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="21" Content="Waliogundulika na maambukizi ya Kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="21" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4j}" />
                        <TextBox Grid.Column="3" Grid.Row="21" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4j}" />
                        <Label Grid.Column="4" Grid.Row="21" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="22" Content="4k" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="22" Content="Waliopata matibabu ya Kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="22" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4k}" />
                        <TextBox Grid.Column="3" Grid.Row="22" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4k}" />
                        <Label Grid.Column="4" Grid.Row="22" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="23" Content="4l" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="23" Content="Wenza/waume waliopima Kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="23" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4l}" />
                        <TextBox Grid.Column="3" Grid.Row="23" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4l}" />
                        <Label Grid.Column="4" Grid.Row="23" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="24" Content="4m" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="24" Content="Wenza/waume waliogundulika na maambukizi ya Kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="24" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4m}" />
                        <TextBox Grid.Column="3" Grid.Row="24" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4m}" />
                        <Label Grid.Column="4" Grid.Row="24" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="25" Content="4n" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="25" Content="Wenza/waume waliopata matibabu ya Kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="25" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4n}" />
                        <TextBox Grid.Column="3" Grid.Row="25" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4n}" />
                        <Label Grid.Column="4" Grid.Row="25" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="26" Content="4o" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="26" Content="Waliopatikana na magonjwa ya mambukizo ya ngono yasio kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="26" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4o}" />
                        <TextBox Grid.Column="3" Grid.Row="26" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4o}" />
                        <Label Grid.Column="4" Grid.Row="26" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="27" Content="4p" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="27" Content="Waliopata tiba sahihi ya magonjwa ya mambukizo ya ngono yasio kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="27" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4p}" />
                        <TextBox Grid.Column="3" Grid.Row="27" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4p}" />
                        <Label Grid.Column="4" Grid.Row="27" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="28" Content="4q" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="28" Content="Wenza/waume waliopatikana na magonjwa ya mambukizi ya ngono yasio kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="28" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4q}" />
                        <TextBox Grid.Column="3" Grid.Row="28" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4q}" />
                        <Label Grid.Column="4" Grid.Row="28" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="29" Content="4r" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="29" Content="Wenzi/waume waliopata tiba sahihi ya magonjwa ya ngono yasiyo kaswende" />
                        <TextBox Grid.Column="2" Grid.Row="29" Text="{Binding Under20Form.ANCForm_VidokezoVyaHatari.C_4r}" />
                        <TextBox Grid.Column="3" Grid.Row="29" Text="{Binding Above20Form.ANCForm_VidokezoVyaHatari.C_4r}" />
                        <Label Grid.Column="4" Grid.Row="29" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="30" Content="5" Style="{DynamicResource CentralSectionLabel}" />
                        <Label Grid.Column="1" Grid.Row="30" Content="PMTCT" Grid.ColumnSpan="4" Style="{DynamicResource SectionLabel}" />

                        <Label Grid.Row="31" Content="5a" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="31" Content="Tayari  wana maambukizi ya VVU kabla ya kuanza kliniki" />
                        <TextBox Grid.Column="2" Grid.Row="31" Text="{Binding Under20Form.ANCForm_PMTCT.C_5a}" />
                        <TextBox Grid.Column="3" Grid.Row="31" Text="{Binding Above20Form.ANCForm_PMTCT.C_5a}" />
                        <Label Grid.Column="4" Grid.Row="31" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="32" Content="5b" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="32" Content="Wajawazito wote waliopata ushauri nasaha kabla ya kupima VVU kliniki" />
                        <TextBox Grid.Column="2" Grid.Row="32" Text="{Binding Under20Form.ANCForm_PMTCT.C_5b}" />
                        <TextBox Grid.Column="3" Grid.Row="32" Text="{Binding Above20Form.ANCForm_PMTCT.C_5b}" />
                        <Label Grid.Column="4" Grid.Row="32" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="33" Content="5c" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="33" Content="Wajawazito Waliopima VVU kipimo cha kwanza kliniki" />
                        <TextBox Grid.Column="2" Grid.Row="33" Text="{Binding Under20Form.ANCForm_PMTCT.C_5c}" />
                        <TextBox Grid.Column="3" Grid.Row="33" Text="{Binding Above20Form.ANCForm_PMTCT.C_5c}" />
                        <Label Grid.Column="4" Grid.Row="33" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="34" Content="5d" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="34" Content="Wajawazito waliokutwa na VVU (positive) kipimo cha kwanza" />
                        <TextBox Grid.Column="2" Grid.Row="34" Text="{Binding Under20Form.ANCForm_PMTCT.C_5d}" />
                        <TextBox Grid.Column="3" Grid.Row="34" Text="{Binding Above20Form.ANCForm_PMTCT.C_5d}" />
                        <Label Grid.Column="4" Grid.Row="34" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="35" Content="5e" Style="{DynamicResource CentralLabel}" Visibility="Collapsed" />
                        <Label Grid.Column="1" Grid.Row="35" Content="Wajawazito waliopimwa VVU Kipimo cha kwanza chini ya Umri wa miaka 25" Visibility="Collapsed" />
                        <TextBox Grid.Column="2" Grid.Row="35" Text="{Binding Under20Form.ANCForm_PMTCT.C_5e}" Visibility="Collapsed" />
                        <TextBox Grid.Column="3" Grid.Row="35" Text="{Binding Above20Form.ANCForm_PMTCT.C_5e}" Visibility="Collapsed" />
                        <Label Grid.Column="4" Grid.Row="35" Style="{DynamicResource BoldLabel}" Visibility="Collapsed" />

                        <Label Grid.Row="36" Content="5e" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="36" Content="Wajawazito waliokutwa na VVU (positive) kipimo cha kwanza walio chini ya umri wa miaka 25" />
                        <TextBox Grid.Column="2" Grid.Row="36" Text="{Binding Under20Form.ANCForm_PMTCT.C_5f}" />
                        <TextBox Grid.Column="3" Grid.Row="36" Text="{Binding Above20Form.ANCForm_PMTCT.C_5f}" />
                        <Label Grid.Column="4" Grid.Row="36" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="37" Content="5f" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="37" Content="Wajawazito waliopata ushauri baada ya kupima" />
                        <TextBox Grid.Column="2" Grid.Row="37" Text="{Binding Under20Form.ANCForm_PMTCT.C_5g}" />
                        <TextBox Grid.Column="3" Grid.Row="37" Text="{Binding Above20Form.ANCForm_PMTCT.C_5g}" />
                        <Label Grid.Column="4" Grid.Row="37" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="38" Content="5g" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="38" Content="Wajawazito waliopimwa VVU na wenza wao (Couple) kwa pamoja katika kliniki ya wajawazito" />
                        <TextBox Grid.Column="2" Grid.Row="38" Text="{Binding Under20Form.ANCForm_PMTCT.C_5h}" />
                        <TextBox Grid.Column="3" Grid.Row="38" Text="{Binding Above20Form.ANCForm_PMTCT.C_5h}" />
                        <Label Grid.Column="4" Grid.Row="38" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="39" Content="5h" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="39" Content="Wajawazito waliopima VVU kipimo cha pili" />
                        <TextBox Grid.Column="2" Grid.Row="39" Text="{Binding Under20Form.ANCForm_PMTCT.C_5i}" />
                        <TextBox Grid.Column="3" Grid.Row="39" Text="{Binding Above20Form.ANCForm_PMTCT.C_5i}" />
                        <Label Grid.Column="4" Grid.Row="39" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="40" Content="5i" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="40" Content="Wajawazito waliokutwa na maambukizi ya VVU kipimo cha pili" />
                        <TextBox Grid.Column="2" Grid.Row="40" Text="{Binding Under20Form.ANCForm_PMTCT.C_5j}" />
                        <TextBox Grid.Column="3" Grid.Row="40" Text="{Binding Above20Form.ANCForm_PMTCT.C_5j}" />
                        <Label Grid.Column="4" Grid.Row="40" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="41" Content="5j" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="41" Content="Wenza waliopima VVU kipimo cha kwanza Kliniki ya wajawazito" />
                        <TextBox Grid.Column="2" Grid.Row="41" Text="{Binding Under20Form.ANCForm_PMTCT.C_5k}" />
                        <TextBox Grid.Column="3" Grid.Row="41" Text="{Binding Above20Form.ANCForm_PMTCT.C_5k}" />
                        <Label Grid.Column="4" Grid.Row="41" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="42" Content="5k" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="42" Content="Wenza waliogundulika kuwa na maambukizi ya VVU kipimo cha kwanza katika kliniki ya wajawazito" />
                        <TextBox Grid.Column="2" Grid.Row="42" Text="{Binding Under20Form.ANCForm_PMTCT.C_5l}" />
                        <TextBox Grid.Column="3" Grid.Row="42" Text="{Binding Above20Form.ANCForm_PMTCT.C_5l}" />
                        <Label Grid.Column="4" Grid.Row="42" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="43" Content="5l" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="43" Content="Wenza waliopima VVU kipimo cha pili Kliniki ya wajawazito" />
                        <TextBox Grid.Column="2" Grid.Row="43" Text="{Binding Under20Form.ANCForm_PMTCT.C_5x}" />
                        <TextBox Grid.Column="3" Grid.Row="43" Text="{Binding Above20Form.ANCForm_PMTCT.C_5x}" />
                        <Label Grid.Column="4" Grid.Row="43" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="44" Content="5m" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="44" Content="Wenza waliogundulika kuwa na maambukizi ya VVU kipimo cha pili katika kliniki ya wajawazito" />
                        <TextBox Grid.Column="2" Grid.Row="44" Text="{Binding Under20Form.ANCForm_PMTCT.C_5y}" />
                        <TextBox Grid.Column="3" Grid.Row="44" Text="{Binding Above20Form.ANCForm_PMTCT.C_5y}" />
                        <Label Grid.Column="4" Grid.Row="44" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="45" Content="5n" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="45" Content="Wajawazito na wenza waliopata majibu tofauti (discordant) baada ya kupima VVU kliniki ya wajawazito" />
                        <TextBox Grid.Column="2" Grid.Row="45" Text="{Binding Under20Form.ANCForm_PMTCT.C_5m}" />
                        <TextBox Grid.Column="3" Grid.Row="45" Text="{Binding Above20Form.ANCForm_PMTCT.C_5m}" />
                        <Label Grid.Column="4" Grid.Row="45" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="46" Content="5o" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="46" Content="Waliopata ushauri juu ya ulishaji wa mtoto" />
                        <TextBox Grid.Column="2" Grid.Row="46" Text="{Binding Under20Form.ANCForm_PMTCT.C_5q}" />
                        <TextBox Grid.Column="3" Grid.Row="46" Text="{Binding Above20Form.ANCForm_PMTCT.C_5q}" />
                        <Label Grid.Column="4" Grid.Row="46" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="47" Content="5q" Style="{DynamicResource CentralLabel}" Visibility="Collapsed" />
                        <Label Grid.Column="1" Grid.Row="47" Content="Waliopata ushauri juu ya ulishaji wa mtoto" Visibility="Collapsed" />
                        <TextBox Grid.Column="2" Grid.Row="47" Text="{Binding Under20Form.ANCForm_PMTCT.C_5q}" Visibility="Collapsed" />
                        <TextBox Grid.Column="3" Grid.Row="47" Text="{Binding Above20Form.ANCForm_PMTCT.C_5q}" Visibility="Collapsed" />
                        <Label Grid.Column="4" Grid.Row="47" Style="{DynamicResource BoldLabel}" Visibility="Collapsed" />

                        <Label Grid.Row="48" Content="6" Style="{DynamicResource CentralSectionLabel}" />
                        <Label Grid.Column="1" Grid.Row="48" Content="Malaria" Grid.ColumnSpan="4" Style="{DynamicResource SectionLabel}" />

                        <Label Grid.Row="49" Content="6a" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="49" Content="Waliopewa vocha ya hati punguzo" />
                        <TextBox Grid.Column="2" Grid.Row="49" Text="{Binding Under20Form.ANCForm_Malaria.C_6a}" />
                        <TextBox Grid.Column="3" Grid.Row="49" Text="{Binding Above20Form.ANCForm_Malaria.C_6a}" />
                        <Label Grid.Column="4" Grid.Row="49" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="50" Content="6b" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="50" Content="Waliopima Malaria kutumia MRDT" />
                        <TextBox Grid.Column="2" Grid.Row="50" Text="{Binding Under20Form.ANCForm_Malaria.C_6b}" />
                        <TextBox Grid.Column="3" Grid.Row="50" Text="{Binding Above20Form.ANCForm_Malaria.C_6b}" />
                        <Label Grid.Column="4" Grid.Row="50" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="51" Content="6c" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="51" Content="Waliopima Malaria positive" />
                        <TextBox Grid.Column="2" Grid.Row="51" Text="{Binding Under20Form.ANCForm_Malaria.C_6c}" />
                        <TextBox Grid.Column="3" Grid.Row="51" Text="{Binding Above20Form.ANCForm_Malaria.C_6c}" />
                        <Label Grid.Column="4" Grid.Row="51" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="52" Content="6d" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="52" Content="Waliopewa IPT2" />
                        <TextBox Grid.Column="2" Grid.Row="52" Text="{Binding Under20Form.ANCForm_Malaria.C_6d}" />
                        <TextBox Grid.Column="3" Grid.Row="52" Text="{Binding Above20Form.ANCForm_Malaria.C_6d}" />
                        <Label Grid.Column="4" Grid.Row="52" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="53" Content="6e" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="53" Content="Waliopewa IPT4" />
                        <TextBox Grid.Column="2" Grid.Row="53" Text="{Binding Under20Form.ANCForm_Malaria.C_6e}" />
                        <TextBox Grid.Column="3" Grid.Row="53" Text="{Binding Above20Form.ANCForm_Malaria.C_6e}" />
                        <Label Grid.Column="4" Grid.Row="53" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="54" Style="{DynamicResource CentralSectionLabel}" />
                        <Label Grid.Column="1" Grid.Row="54" Content="Huduma Nyingine" Grid.ColumnSpan="4" Style="{DynamicResource SectionLabel}" />

                        <Label Grid.Row="55" Content="7" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="55" Content="Waliopewa Iron/Folic Acid (I, F, IFA) vidonge vya kutosha mpaka udhurio linalofuata" />
                        <TextBox Grid.Column="2" Grid.Row="55" Text="{Binding Under20Form.C_7}" />
                        <TextBox Grid.Column="3" Grid.Row="55" Text="{Binding Above20Form.C_7}" />
                        <Label Grid.Column="4" Grid.Row="55" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="56" Content="8" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="56" Content="Waliopewa Dawa za minyoo (Mebendazole / Albendazole )" />
                        <TextBox Grid.Column="2" Grid.Row="56" Text="{Binding Under20Form.C_8}" />
                        <TextBox Grid.Column="3" Grid.Row="56" Text="{Binding Above20Form.C_8}" />
                        <Label Grid.Column="4" Grid.Row="56" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="57" Content="9" Style="{DynamicResource CentralLabel}" />
                        <Label Grid.Column="1" Grid.Row="57" Content="Waliopewa Rufaa  wakati wa ujauzito" />
                        <TextBox Grid.Column="2" Grid.Row="57" Text="{Binding Under20Form.C_9}" />
                        <TextBox Grid.Column="3" Grid.Row="57" Text="{Binding Above20Form.C_9}" />
                        <Label Grid.Column="4" Grid.Row="57" Style="{DynamicResource BoldLabel}" />

                        <Label Grid.Row="58" Content="10" Style="{DynamicResource CentralBottomLabel}" />
                        <Label Grid.Column="1" Grid.Row="58" Content="Waliopewa Rufaa kwenda CTC" Style="{DynamicResource BottomLabel}" />
                        <TextBox Grid.Column="2" Grid.Row="58" Text="{Binding Under20Form.C_10}" Style="{DynamicResource BottomTextBox}" />
                        <TextBox Grid.Column="3" Grid.Row="58" Text="{Binding Above20Form.C_10}" Style="{DynamicResource BottomTextBox}" />
                        <Label Grid.Column="4" Grid.Row="58" Style="{DynamicResource BoldBottomLabel}" />
                    </Grid>
                </ScrollViewer>
            </Grid>
        </Border>
    </Grid>

</UserControl>
